<template>
	<view class="title" @click="detail" :class="props.Index != 3 ? 'border':''">
		<view class="title-left">
			<view class="ztitle">
				{{Info.title}}
			</view>
			<view class="subtitle">
				{{Info.subTitle}}
			</view>
		</view>
		<view class="title-right">
			<image src="/static/image/arrow3.png" mode="aspectFill" style="width: 106rpx;height: 43rpx;"></image>
		</view>
	</view>
</template>

<script setup lang="ts">
 
	const props = defineProps({
		Info:{type:Object},
		Index:{type:Number}
	})
	const emit = defineEmits(['detail'])
	const detail = ()=>{
		emit('detail');
	}
	 
</script>

<style scoped lang="scss">
	.border{
		border-bottom: 1rpx dotted black;
	}
	.title {
		margin:0 50rpx 0 50rpx;
		padding-bottom: 50rpx;
		display: flex;
		justify-content: space-between;
		align-items: center;
		
		.title-left {
			.ztitle {
				font-size: 48rpx;
				font-weight: bold;
				color: #2C2C2C;
				font-family: PingFang SC, PingFang SC;
			}
	
			.subtitle {
				margin-top: 20rpx;
				color: #6A6A6A;
				font-size: 26rpx;
				font-family: PingFang SC, PingFang SC;
			}
		}
	
		.title-right {
			 
		}
	}
</style>